package com.waymap.domain;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.*;
import java.security.Timestamp;
import java.util.Calendar;
import java.util.Date;

/**
 * @author alfred
 */
@Data
@ApiModel(description = "商品库存调整")
public class InventorysAdjust {

    private Integer id;

    /**
     * 库存类型 （1 入库 0 出库）
     */
    @Column(name = "stock_type")
    private Integer stockType;

    /**
     * 仓库ID
     */
    @Column(name = "location_id")
    private Integer locationId;

    /**
     * itemId
     */
    @Column(name = "itemId")
    private Integer itemId;

    /**
     * 调整数量
     */
    @Column(name = "adjust_num")
    private Integer adjustNum;

    @Column(name = "binId")
    private Integer binId;

    @Column(name = "lotNumber")
    private String lotNumber;
    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    @Column(name = "sync_status")
    private String syncStatus;
    /**
     * 创建人
     */
    @Column(name = "create_by_user")
    private String createByUser;

    private String accountId;

}